/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 80021
 Source Host           : localhost:3306
 Source Schema         : openIM_v2

 Target Server Type    : MySQL
 Target Server Version : 80021
 File Encoding         : 65001

 Date: 02/09/2022 21:21:40
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for app_version
-- ----------------------------
DROP TABLE IF EXISTS `app_version`;
CREATE TABLE `app_version` (
  `version` varchar(64) DEFAULT NULL,
  `type` bigint NOT NULL AUTO_INCREMENT,
  `update_time` bigint DEFAULT NULL,
  `force_update` tinyint(1) DEFAULT NULL,
  `file_name` longtext,
  `yaml_name` longtext,
  `update_log` longtext,
  PRIMARY KEY (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of app_version
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for black_lists
-- ----------------------------
DROP TABLE IF EXISTS `black_lists`;
CREATE TABLE `black_lists` (
  `uid` longtext,
  `begin_disable_time` datetime(3) DEFAULT NULL,
  `end_disable_time` datetime(3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of black_lists
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for blacks
-- ----------------------------
DROP TABLE IF EXISTS `blacks`;
CREATE TABLE `blacks` (
  `owner_user_id` varchar(64) NOT NULL,
  `block_user_id` varchar(64) NOT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `add_source` int DEFAULT NULL,
  `operator_user_id` varchar(64) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`owner_user_id`,`block_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of blacks
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for chat_logs
-- ----------------------------
DROP TABLE IF EXISTS `chat_logs`;
CREATE TABLE `chat_logs` (
  `server_msg_id` char(64) NOT NULL,
  `client_msg_id` char(64) DEFAULT NULL,
  `send_id` char(64) DEFAULT NULL,
  `recv_id` char(64) DEFAULT NULL,
  `sender_platform_id` int DEFAULT NULL,
  `sender_nick_name` varchar(255) DEFAULT NULL,
  `sender_face_url` varchar(255) DEFAULT NULL,
  `session_type` int DEFAULT NULL,
  `msg_from` int DEFAULT NULL,
  `content_type` int DEFAULT NULL,
  `content` varchar(3000) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `send_time` datetime(3) DEFAULT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`server_msg_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of chat_logs
-- ----------------------------
BEGIN;
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('005f4d24d39634643118ccd6ead4a631', 'b51ef766ab26a0a3d304805c6a9ba45e', 'kefu1', 'c05a4c0234694c118a6b564477d4c754', 5, '客服1号', 'http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661958735125.png', 1, 100, 101, '好的', 1, '2022-08-31 23:56:00.297', '2022-08-31 23:56:00.286', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('025285e52b2f546d8ea0696f8f4bca49', '0cfe195cc3220aa89f268c6a966ddc33', '3927b1576d594b79af178a022c0c6e4c', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CikKIDM5MjdiMTU3NmQ1OTRiNzlhZjE3OGEwMjJjMGM2ZTRjEgVrZWZ1MQ==\",\"defaultTips\":\"游客6e4cI applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"3927b1576d594b79af178a022c0c6e4c\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 22:50:03.746', '2022-08-31 22:50:03.746', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('026c62ca9eeb161dc3ec93b109a1343a', '29dcbdc8674135ebee3c803bdd07a63c', 'kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', 5, '客服1号', '', 1, 100, 101, '[抠鼻][抠鼻]', 1, '2022-08-31 22:35:09.287', '2022-08-31 22:35:09.236', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('03ada851da0dcc527f69a90467faf926', '3d37d838fbb497d4bfab9ee66359d94d', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 0, '', '', 1, 200, 1303, '{\"detail\":\"CgVrZWZ1MQ==\",\"defaultTips\":\"remove a blocked user\",\"jsonDetail\":\"{\\\"userID\\\":\\\"kefu1\\\"}\"}', 0, '2022-08-31 23:12:15.763', '2022-08-31 23:12:15.763', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('10ba30e7339da0455725c1717f6e8087', '82365fc00e6ad03eaf3ae1c8406f1d2d', 'oTigX6npdXjo--YNCKAof_NLIJVM', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CiUKHG9UaWdYNm5wZFhqby0tWU5DS0FvZl9OTElKVk0SBWtlZnUx\",\"defaultTips\":\"阿桑I applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"oTigX6npdXjo--YNCKAof_NLIJVM\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 21:07:48.137', '2022-08-31 21:07:48.137', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('177a8f25a94eee7e50044a1462d1407d', '427cd980a66bf547921174c1537a5c2f', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 5, '客服1号', 'http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661958735125.png', 1, 100, 101, '来来了', 1, '2022-08-31 23:28:08.990', '2022-08-31 23:28:08.974', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('1ff06406a05405f0d283c021b3c721f4', 'c93106f95db75594aef6027fa73f7844', 'kefu1', 'c05a4c0234694c118a6b564477d4c754', 0, '', '', 1, 200, 1303, '{\"detail\":\"CgVrZWZ1MQ==\",\"defaultTips\":\"remove a blocked user\",\"jsonDetail\":\"{\\\"userID\\\":\\\"kefu1\\\"}\"}', 0, '2022-08-31 23:12:15.770', '2022-08-31 23:12:15.770', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('2221c14dd1c2ea26ddb66c1adc83f3ac', 'a6a0c87f000afc72f54f59bed239e9e2', 'kefu1', 'a8b7320f03474f87856eb9611f7ba57c', 0, '', '', 1, 200, 1201, '{\"detail\":\"CikKBWtlZnUxEiBhOGI3MzIwZjAzNDc0Zjg3ODU2ZWI5NjExZjdiYTU3YxICb2s=\",\"defaultTips\":\"客服1号I applies to add your friend application\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"a8b7320f03474f87856eb9611f7ba57c\\\"},\\\"handleMsg\\\":\\\"ok\\\"}\"}', 0, '2022-08-31 22:55:08.303', '2022-08-31 22:55:08.302', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('28364bb499afa9f304b998cf9078b893', '442dc92c3d3854500d47770500ceac2a', '4e3403f32cf04461b45aa78a8550963e', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CikKIDRlMzQwM2YzMmNmMDQ0NjFiNDVhYTc4YTg1NTA5NjNlEgVrZWZ1MQ==\",\"defaultTips\":\"游客963eI applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"4e3403f32cf04461b45aa78a8550963e\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 22:55:31.435', '2022-08-31 22:55:31.434', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('29432379fbb28b02ed8db3b5bf20e1f0', '09571684cd1bf37cbf8fc100e72296de', 'kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', 5, '客服1号', '', 1, 100, 101, '1111', 1, '2022-08-31 22:41:16.790', '2022-08-31 22:41:16.776', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('2966f3aaedf5862e5b463468950b75f9', '0e4cea4c83d8fbe497605df01367f69f', 'kefu1', '3927b1576d594b79af178a022c0c6e4c', 0, '', '', 1, 200, 1204, '{\"detail\":\"CiIKBWtlZnUxGJvqvZgGIgZQm+q9mAYyC29wZW5JTUFkbWluGhoKC29wZW5JTUFkbWluEgtBcHBNYW5hZ2VyNA==\",\"defaultTips\":\"We have become friends\",\"jsonDetail\":\"{\\\"friend\\\":{\\\"ownerUserID\\\":\\\"kefu1\\\",\\\"createTime\\\":1661957403,\\\"friendUser\\\":{\\\"createTime\\\":1661957403},\\\"operatorUserID\\\":\\\"openIMAdmin\\\"},\\\"opUser\\\":{\\\"userID\\\":\\\"openIMAdmin\\\",\\\"nickname\\\":\\\"AppManager4\\\"}}\"}', 0, '2022-08-31 22:50:03.766', '2022-08-31 22:50:03.766', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('2a38d42c39b8c4d005b60067f26cc1b3', 'dce1e05c021352e9e34b9f28c2dd73ce', 'kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', 0, '', '', 1, 200, 1201, '{\"detail\":\"CiUKBWtlZnUxEhxvVGlnWDZucGRYam8tLVlOQ0tBb2ZfTkxJSlZNEgJvaw==\",\"defaultTips\":\"客服1号I applies to add your friend application\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"oTigX6npdXjo--YNCKAof_NLIJVM\\\"},\\\"handleMsg\\\":\\\"ok\\\"}\"}', 0, '2022-08-31 21:26:26.058', '2022-08-31 21:26:26.058', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('2dd739bc67787447a17be895b65beb4f', 'ca4cc5998827319b9170e1587a1906dd', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 5, '客服1号', 'http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661958735125.png', 1, 100, 101, '好了', 1, '2022-09-01 00:18:17.927', '2022-09-01 00:18:17.917', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('3499582b3a2828701169692d541ea84d', 'c57340b80088b4fbfee1bce330556630', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, '你好', 1, '2022-08-31 22:57:11.541', '2022-08-31 22:57:11.534', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('3659e8f28db68aed4d1a4f14fd91aa03', 'ff2796d268c8292483f54fc3f150d54d', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 0, '', '', 1, 200, 1204, '{\"detail\":\"CiIKBWtlZnUxGJftvZgGIgZQl+29mAYyC29wZW5JTUFkbWluGhoKC29wZW5JTUFkbWluEgtBcHBNYW5hZ2VyNA==\",\"defaultTips\":\"We have become friends\",\"jsonDetail\":\"{\\\"friend\\\":{\\\"ownerUserID\\\":\\\"kefu1\\\",\\\"createTime\\\":1661957783,\\\"friendUser\\\":{\\\"createTime\\\":1661957783},\\\"operatorUserID\\\":\\\"openIMAdmin\\\"},\\\"opUser\\\":{\\\"userID\\\":\\\"openIMAdmin\\\",\\\"nickname\\\":\\\"AppManager4\\\"}}\"}', 0, '2022-08-31 22:56:23.931', '2022-08-31 22:56:23.930', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('3c3a86e1c0cc4b4f0fd5a9d8e88059f2', '52062c18f426978f49af4a89d91d49ce', 'oTigX6npdXjo--YNCKAof_NLIJVM', 'oTigX6npdXjo--YNCKAof_NLIJVM', 5, '阿桑', 'https://thirdwx.qlogo.cn/mmopen/vi_32/8DvUEMTEkPu8jIT2SiaBAJBrvelL4gMF50cOUPLiaXd9p7HD7spRRXXmCJtQXvHmDqwETJ8dAPzmMhibfeTVLdFkg/132', 1, 100, 101, 'nihao ', 1, '2022-08-31 22:37:49.095', '2022-08-31 22:37:49.088', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('3dcae31b3887a277f5582e3d1f40511c', '6f44dafd3a3566865d2333eb291a31fa', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 0, '', '', 1, 200, 1201, '{\"detail\":\"CikKBWtlZnUxEiA4N2M1ZjE4YmRiZTA0YWQwOTM4NDkwODI5OTA3ZWZlZRICb2s=\",\"defaultTips\":\"客服1号I applies to add your friend application\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"87c5f18bdbe04ad0938490829907efee\\\"},\\\"handleMsg\\\":\\\"ok\\\"}\"}', 0, '2022-08-31 22:56:23.935', '2022-08-31 22:56:23.934', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('3e589a5be750770654fa50350c51bcdd', '94a5b123fd62d0456a579d096b9717e5', 'kefu1', '4e3403f32cf04461b45aa78a8550963e', 0, '', '', 1, 200, 1303, '{\"detail\":\"CgVrZWZ1MQ==\",\"defaultTips\":\"remove a blocked user\",\"jsonDetail\":\"{\\\"userID\\\":\\\"kefu1\\\"}\"}', 0, '2022-08-31 23:12:15.757', '2022-08-31 23:12:15.757', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('40213b3ef2865ae076bd22ae0aa682bf', 'c2aaa90476b954d0806d6c6d5dc97c04', 'kefu1', 'a8b7320f03474f87856eb9611f7ba57c', 0, '', '', 1, 200, 1303, '{\"detail\":\"CgVrZWZ1MQ==\",\"defaultTips\":\"remove a blocked user\",\"jsonDetail\":\"{\\\"userID\\\":\\\"kefu1\\\"}\"}', 0, '2022-08-31 23:12:15.767', '2022-08-31 23:12:15.766', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('418da17bd0af2d00594548251215be7a', '3e11e8d648dfdba9c270245c403d1e66', 'kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', 0, '', '', 1, 200, 1204, '{\"detail\":\"CiIKBWtlZnUxGILDvZgGIgZQq7a9mAYyC29wZW5JTUFkbWluGhoKC29wZW5JTUFkbWluEgtBcHBNYW5hZ2VyNA==\",\"defaultTips\":\"We have become friends\",\"jsonDetail\":\"{\\\"friend\\\":{\\\"ownerUserID\\\":\\\"kefu1\\\",\\\"createTime\\\":1661952386,\\\"friendUser\\\":{\\\"createTime\\\":1661950763},\\\"operatorUserID\\\":\\\"openIMAdmin\\\"},\\\"opUser\\\":{\\\"userID\\\":\\\"openIMAdmin\\\",\\\"nickname\\\":\\\"AppManager4\\\"}}\"}', 0, '2022-08-31 21:26:26.055', '2022-08-31 21:26:26.054', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('477b180873125746657c2def94e0174a', '76396ac6f73540a45bece41873dfa56e', 'kefu1', '56f413f0df9f42d7b3c9cb855de372e9', 0, '', '', 1, 200, 1204, '{\"detail\":\"CiIKBWtlZnUxGJ3rvZgGIgZQneu9mAYyC29wZW5JTUFkbWluGhoKC29wZW5JTUFkbWluEgtBcHBNYW5hZ2VyNA==\",\"defaultTips\":\"We have become friends\",\"jsonDetail\":\"{\\\"friend\\\":{\\\"ownerUserID\\\":\\\"kefu1\\\",\\\"createTime\\\":1661957533,\\\"friendUser\\\":{\\\"createTime\\\":1661957533},\\\"operatorUserID\\\":\\\"openIMAdmin\\\"},\\\"opUser\\\":{\\\"userID\\\":\\\"openIMAdmin\\\",\\\"nickname\\\":\\\"AppManager4\\\"}}\"}', 0, '2022-08-31 22:52:13.465', '2022-08-31 22:52:13.465', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('56494f5fc50e029fe3be7e40cac87604', '9e93d6cb40b49413dabbcb07336139e3', 'kefu1', 'a8b7320f03474f87856eb9611f7ba57c', 0, '', '', 1, 200, 1204, '{\"detail\":\"CiIKBWtlZnUxGMzsvZgGIgZQzOy9mAYyC29wZW5JTUFkbWluGhoKC29wZW5JTUFkbWluEgtBcHBNYW5hZ2VyNA==\",\"defaultTips\":\"We have become friends\",\"jsonDetail\":\"{\\\"friend\\\":{\\\"ownerUserID\\\":\\\"kefu1\\\",\\\"createTime\\\":1661957708,\\\"friendUser\\\":{\\\"createTime\\\":1661957708},\\\"operatorUserID\\\":\\\"openIMAdmin\\\"},\\\"opUser\\\":{\\\"userID\\\":\\\"openIMAdmin\\\",\\\"nickname\\\":\\\"AppManager4\\\"}}\"}', 0, '2022-08-31 22:55:08.299', '2022-08-31 22:55:08.299', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('655e19780ca23dab90bbb7af3115e5ec', 'fda0e8122401bb3e80b523b49f538caa', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 5, '客服1号', '', 1, 100, 101, '好什么好', 1, '2022-08-31 22:57:16.787', '2022-08-31 22:57:16.777', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('658f3d5a7dcbff5531ca6e323834bd78', 'f5092439d56aca60d550e8f28e2c8d2a', 'kefu1', 'c05a4c0234694c118a6b564477d4c754', 0, '', '', 1, 200, 1201, '{\"detail\":\"CikKBWtlZnUxEiBjMDVhNGMwMjM0Njk0YzExOGE2YjU2NDQ3N2Q0Yzc1NBICb2s=\",\"defaultTips\":\"客服1号I applies to add your friend application\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"c05a4c0234694c118a6b564477d4c754\\\"},\\\"handleMsg\\\":\\\"ok\\\"}\"}', 0, '2022-08-31 22:54:34.970', '2022-08-31 22:54:34.969', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('65d8a1170941608f7661851868e42182', '5191d74da342cac77af9ac487b161624', 'kefu1', '4e3403f32cf04461b45aa78a8550963e', 0, '', '', 1, 200, 1204, '{\"detail\":\"CiIKBWtlZnUxGOPsvZgGIgZQ4+y9mAYyC29wZW5JTUFkbWluGhoKC29wZW5JTUFkbWluEgtBcHBNYW5hZ2VyNA==\",\"defaultTips\":\"We have become friends\",\"jsonDetail\":\"{\\\"friend\\\":{\\\"ownerUserID\\\":\\\"kefu1\\\",\\\"createTime\\\":1661957731,\\\"friendUser\\\":{\\\"createTime\\\":1661957731},\\\"operatorUserID\\\":\\\"openIMAdmin\\\"},\\\"opUser\\\":{\\\"userID\\\":\\\"openIMAdmin\\\",\\\"nickname\\\":\\\"AppManager4\\\"}}\"}', 0, '2022-08-31 22:55:31.453', '2022-08-31 22:55:31.452', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('6ef630a65f58fe22d316b5ad89e3d122', '010dd29b172c59e94df02fe7d910daf4', 'kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', 5, '客服1号', '', 1, 100, 101, '111', 1, '2022-08-31 22:39:52.704', '2022-08-31 22:39:52.696', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('79b1fcdb07363a976e89c3b985b6ff91', '7d66fd641b2ccdb7725f757dd972a4cf', 'oTigX6npdXjo--YNCKAof_NLIJVM', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CiUKHG9UaWdYNm5wZFhqby0tWU5DS0FvZl9OTElKVk0SBWtlZnUx\",\"defaultTips\":\"阿桑I applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"oTigX6npdXjo--YNCKAof_NLIJVM\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 21:07:44.570', '2022-08-31 21:07:44.566', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('8251f33ac41d148d8c4f4903c4cd98c5', '84c3f78b24ac26261a7495794e2b0b6e', 'kefu1', 'kefu1', 0, '', '', 1, 200, 1303, '{\"detail\":\"CgVrZWZ1MQ==\",\"defaultTips\":\"remove a blocked user\",\"jsonDetail\":\"{\\\"userID\\\":\\\"kefu1\\\"}\"}', 0, '2022-08-31 23:12:15.777', '2022-08-31 23:12:15.777', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('82887a46759a099ae0f7485ccaec33e2', 'bbaa216835ecd50f0427c4b82fe8644a', '56f413f0df9f42d7b3c9cb855de372e9', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CikKIDU2ZjQxM2YwZGY5ZjQyZDdiM2M5Y2I4NTVkZTM3MmU5EgVrZWZ1MQ==\",\"defaultTips\":\"游客72e9I applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"56f413f0df9f42d7b3c9cb855de372e9\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 22:52:13.448', '2022-08-31 22:52:13.448', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('853c16e5c464abf5db1c47a877cfe51a', '969eaf771389be889dd37dd4ee99d24c', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 5, '客服1号', 'http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661958735125.png', 1, 100, 101, '哈哈', 1, '2022-08-31 23:27:54.778', '2022-08-31 23:27:54.769', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('87dbd7bb2df36f3d3be7ba794e753c5b', 'a4fa9ddba5c90d7af9c7284e70b68722', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, '来了 ', 1, '2022-09-01 21:32:04.159', '2022-09-01 21:32:04.150', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('8865b9bd5a30b3fe61bf83e231f5bae7', 'cc5a68a07ef67268c39d208d0bae45ef', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 5, '客服1号', 'http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661958735125.png', 1, 100, 101, '你在做什么呢', 1, '2022-08-31 23:12:55.374', '2022-08-31 23:12:55.363', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('8ac2bfcd678ad6c4e7ebc1f62bbee418', 'f50d844179e27eb309136fa47fa970a2', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, '好的', 1, '2022-08-31 23:12:39.478', '2022-08-31 23:12:39.471', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('8bb37979e36d48d9b37f3218a6444ca9', '74bfc61607eb66e523c4708aa2f11135', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, '[鼓掌][鼓掌][鼓掌]', 1, '2022-09-01 00:10:55.235', '2022-09-01 00:10:55.230', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('9fb2d8686e3183da710b094394c80d16', 'b2e3bac18280595a2356431c65f11924', 'a8b7320f03474f87856eb9611f7ba57c', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CikKIGE4YjczMjBmMDM0NzRmODc4NTZlYjk2MTFmN2JhNTdjEgVrZWZ1MQ==\",\"defaultTips\":\"游客a57cI applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"a8b7320f03474f87856eb9611f7ba57c\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 22:55:08.271', '2022-08-31 22:55:08.271', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('a757cbef7f8d4a1adc7cbc84bb46fc8c', '19993ddf093f3d4169b15d5b337e3545', 'kefu1', 'c05a4c0234694c118a6b564477d4c754', 0, '', '', 1, 200, 1204, '{\"detail\":\"CiIKBWtlZnUxGKrsvZgGIgZQquy9mAYyC29wZW5JTUFkbWluGhoKC29wZW5JTUFkbWluEgtBcHBNYW5hZ2VyNA==\",\"defaultTips\":\"We have become friends\",\"jsonDetail\":\"{\\\"friend\\\":{\\\"ownerUserID\\\":\\\"kefu1\\\",\\\"createTime\\\":1661957674,\\\"friendUser\\\":{\\\"createTime\\\":1661957674},\\\"operatorUserID\\\":\\\"openIMAdmin\\\"},\\\"opUser\\\":{\\\"userID\\\":\\\"openIMAdmin\\\",\\\"nickname\\\":\\\"AppManager4\\\"}}\"}', 0, '2022-08-31 22:54:34.965', '2022-08-31 22:54:34.964', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('b02288fe4f3776d6bd5a8a2d6902bdbc', 'd4c9c1b2fea0251812e7341b088dd448', 'kefu1', '3927b1576d594b79af178a022c0c6e4c', 0, '', '', 1, 200, 1201, '{\"detail\":\"CikKBWtlZnUxEiAzOTI3YjE1NzZkNTk0Yjc5YWYxNzhhMDIyYzBjNmU0YxICb2s=\",\"defaultTips\":\"客服1号I applies to add your friend application\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"3927b1576d594b79af178a022c0c6e4c\\\"},\\\"handleMsg\\\":\\\"ok\\\"}\"}', 0, '2022-08-31 22:50:03.769', '2022-08-31 22:50:03.769', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('b1f93029d065f5e3a5b558d0415e899d', '14922f3bcb1cfadef8a520fa876a568b', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 5, '客服1号', 'http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661958735125.png', 1, 100, 102, '{\"sourcePicture\":{\"uuid\":\"cff74846-3a62-4221-b368-0bf2c7775089\",\"type\":\"image/jpeg\",\"size\":359828,\"width\":800,\"height\":512,\"url\":\"http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661961408130.png\"},\"bigPicture\":{\"uuid\":\"cff74846-3a62-4221-b368-0bf2c7775089\",\"type\":\"image/jpeg\",\"size\":359828,\"width\":800,\"height\":512,\"url\":\"http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661961408130.png\"},\"snapshotPicture\":{\"uuid\":\"cff74846-3a62-4221-b368-0bf2c7775089\",\"type\":\"image/jpeg\",\"size\":359828,\"width\":800,\"height\":512,\"url\":\"http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661961408130.png\"}}', 1, '2022-08-31 23:56:48.470', '2022-08-31 23:56:48.422', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('b31fccc233e7d604a6023dc81a957c52', '39d115e30b4d5775dc4a8a838337d0f8', 'c05a4c0234694c118a6b564477d4c754', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CikKIGMwNWE0YzAyMzQ2OTRjMTE4YTZiNTY0NDc3ZDRjNzU0EgVrZWZ1MQ==\",\"defaultTips\":\"游客c754I applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"c05a4c0234694c118a6b564477d4c754\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 22:54:34.944', '2022-08-31 22:54:34.943', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('b4b9fee8659a49a338ffde220bf8f072', 'ea2649ff094fd69d74a76cadcfc275d0', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, '什么鬼', 1, '2022-08-31 23:28:18.430', '2022-08-31 23:28:18.422', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('b6183375bc2471647444e79bf1ccb017', '96719973d2de786593b52fa025032c6b', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, 'kkkk', 1, '2022-09-01 00:18:09.988', '2022-09-01 00:18:09.983', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('b9003fcf5ba4366ea29a25e980f64605', '02f24f0bdb187253ed530e20990ffb63', 'oTigX6npdXjo--YNCKAof_NLIJVM', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CiUKHG9UaWdYNm5wZFhqby0tWU5DS0FvZl9OTElKVk0SBWtlZnUx\",\"defaultTips\":\"阿桑I applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"oTigX6npdXjo--YNCKAof_NLIJVM\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 21:26:26.021', '2022-08-31 21:26:26.020', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('c4ef2417493bd68a73650644380e8849', 'd175faf93e197c5c1fe4ecc2ebe34d32', 'kefu1', '4e3403f32cf04461b45aa78a8550963e', 0, '', '', 1, 200, 1206, '{\"detail\":\"CikKBWtlZnUxEiA0ZTM0MDNmMzJjZjA0NDYxYjQ1YWE3OGE4NTUwOTYzZQ==\",\"defaultTips\":\"客服1号Your friend\'s profile has been changed\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"4e3403f32cf04461b45aa78a8550963e\\\"}}\"}', 0, '2022-09-01 23:24:12.416', '2022-09-01 23:24:12.416', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('c799b5fd8e8014be9977114df53fdc7f', '5caf162b11bc202e06197b5963d446dd', 'kefu1', '87c5f18bdbe04ad0938490829907efee', 0, '', '', 1, 200, 1206, '{\"detail\":\"CikKBWtlZnUxEiA4N2M1ZjE4YmRiZTA0YWQwOTM4NDkwODI5OTA3ZWZlZQ==\",\"defaultTips\":\"客服1号Your friend\'s profile has been changed\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"87c5f18bdbe04ad0938490829907efee\\\"}}\"}', 0, '2022-09-01 22:04:27.571', '2022-09-01 22:04:27.555', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('d5f3101410c8b4e0990d40efd70b0e0d', '6d005d4045b76248efd71cb626101ef5', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, '来了', 1, '2022-08-31 23:56:13.160', '2022-08-31 23:56:13.143', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('dbf71b08b2bb500fde7f07e96403326a', '560f4bbd239dd89741d0f68170504094', 'kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', 5, '客服1号', '', 1, 100, 101, '你好', 1, '2022-08-31 22:40:39.210', '2022-08-31 22:40:39.199', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('de13529164eeef0395c5fa256f9f9f8f', 'f65ddbd56c3f60d0ba7fe9b8660e20b7', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CikKIDg3YzVmMThiZGJlMDRhZDA5Mzg0OTA4Mjk5MDdlZmVlEgVrZWZ1MQ==\",\"defaultTips\":\"游客efeeI applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"87c5f18bdbe04ad0938490829907efee\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 22:56:23.914', '2022-08-31 22:56:23.913', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('de594a6551aefe86bf5932aa9f7dad73', '759a1d910dd8b941ea4afae1154478e7', 'kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', 5, '客服1号', '', 1, 100, 101, '???', 1, '2022-08-31 22:35:53.737', '2022-08-31 22:35:53.727', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('e7e22995eac95dc2d5ce6eaa773b8ab5', '43644c27388d70afdb29291c60ad3ac4', 'oTigX6npdXjo--YNCKAof_NLIJVM', 'kefu1', 0, '', '', 1, 200, 1203, '{\"detail\":\"CiUKHG9UaWdYNm5wZFhqby0tWU5DS0FvZl9OTElKVk0SBWtlZnUx\",\"defaultTips\":\"阿桑I applies to add you as a friend\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"oTigX6npdXjo--YNCKAof_NLIJVM\\\",\\\"toUserID\\\":\\\"kefu1\\\"}}\"}', 0, '2022-08-31 21:25:38.231', '2022-08-31 21:25:38.231', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('e8a6aef9d6a886888e90999a975b072b', 'd47d959f1b6b240dda391304a70bdddc', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, '[惊喜][惊喜][惊喜]', 1, '2022-09-01 00:11:24.117', '2022-09-01 00:11:24.109', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('e9f6ce05eebd40622154f3586d7b7ad2', 'e3cf90ffd4a3c378a0606e8de3afb764', 'kefu1', '4e3403f32cf04461b45aa78a8550963e', 0, '', '', 1, 200, 1201, '{\"detail\":\"CikKBWtlZnUxEiA0ZTM0MDNmMzJjZjA0NDYxYjQ1YWE3OGE4NTUwOTYzZRICb2s=\",\"defaultTips\":\"客服1号I applies to add your friend application\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"4e3403f32cf04461b45aa78a8550963e\\\"},\\\"handleMsg\\\":\\\"ok\\\"}\"}', 0, '2022-08-31 22:55:31.457', '2022-08-31 22:55:31.456', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('ea6c27aff6a4a6f13c7cba32850b524c', 'a4b79bb03feab604337a30bd81f5262d', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, '你好', 1, '2022-08-31 23:55:47.738', '2022-08-31 23:55:47.656', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('ebc1c078d9dc6cd6f0b3b3df3ee16825', 'c9c0fd53941d7fbfa981fac2010f8603', 'kefu1', '56f413f0df9f42d7b3c9cb855de372e9', 0, '', '', 1, 200, 1303, '{\"detail\":\"CgVrZWZ1MQ==\",\"defaultTips\":\"remove a blocked user\",\"jsonDetail\":\"{\\\"userID\\\":\\\"kefu1\\\"}\"}', 0, '2022-08-31 23:12:15.760', '2022-08-31 23:12:15.760', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('ee28d451455719381f6773ecfcab16cd', '518ea272e2b5bffd894cf1bf93a353cd', 'kefu1', '56f413f0df9f42d7b3c9cb855de372e9', 0, '', '', 1, 200, 1201, '{\"detail\":\"CikKBWtlZnUxEiA1NmY0MTNmMGRmOWY0MmQ3YjNjOWNiODU1ZGUzNzJlORICb2s=\",\"defaultTips\":\"客服1号I applies to add your friend application\",\"jsonDetail\":\"{\\\"fromToUserID\\\":{\\\"fromUserID\\\":\\\"kefu1\\\",\\\"toUserID\\\":\\\"56f413f0df9f42d7b3c9cb855de372e9\\\"},\\\"handleMsg\\\":\\\"ok\\\"}\"}', 0, '2022-08-31 22:52:13.469', '2022-08-31 22:52:13.469', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('f2975f5d3015dad429b5facaa2cf4815', '0156fa7207f54cfff9706ed1a4226a25', 'kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', 0, '', '', 1, 200, 1303, '{\"detail\":\"CgVrZWZ1MQ==\",\"defaultTips\":\"remove a blocked user\",\"jsonDetail\":\"{\\\"userID\\\":\\\"kefu1\\\"}\"}', 0, '2022-08-31 23:12:15.774', '2022-08-31 23:12:15.774', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('ff9318bc07cbec69a140c318aa051c7d', '3d9f05b5550f268b84d90c15e117d8ff', '87c5f18bdbe04ad0938490829907efee', 'kefu1', 5, '游客efee', '', 1, 100, 101, 'hoo', 1, '2022-09-01 00:09:34.655', '2022-09-01 00:09:34.646', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('ff953020af74c841fceb330306698b96', '96bdb68f3f57b8c71049814cd948e265', 'kefu1', '3927b1576d594b79af178a022c0c6e4c', 0, '', '', 1, 200, 1303, '{\"detail\":\"CgVrZWZ1MQ==\",\"defaultTips\":\"remove a blocked user\",\"jsonDetail\":\"{\\\"userID\\\":\\\"kefu1\\\"}\"}', 0, '2022-08-31 23:12:15.754', '2022-08-31 23:12:15.717', '');
INSERT INTO `chat_logs` (`server_msg_id`, `client_msg_id`, `send_id`, `recv_id`, `sender_platform_id`, `sender_nick_name`, `sender_face_url`, `session_type`, `msg_from`, `content_type`, `content`, `status`, `send_time`, `create_time`, `ex`) VALUES ('ffb189712af792e0e159707682bbf32e', '58369c093465e30eab6e4a27f49d4bd6', 'kefu1', '3927b1576d594b79af178a022c0c6e4c', 5, '客服1号', '', 1, 100, 101, 'nihao', 1, '2022-08-31 22:50:15.835', '2022-08-31 22:50:15.829', '');
COMMIT;

-- ----------------------------
-- Table structure for client_init_config
-- ----------------------------
DROP TABLE IF EXISTS `client_init_config`;
CREATE TABLE `client_init_config` (
  `discover_page_url` varchar(64) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of client_init_config
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for conversations
-- ----------------------------
DROP TABLE IF EXISTS `conversations`;
CREATE TABLE `conversations` (
  `owner_user_id` char(128) NOT NULL,
  `conversation_id` char(128) NOT NULL,
  `conversation_type` int DEFAULT NULL,
  `user_id` char(64) DEFAULT NULL,
  `group_id` char(128) DEFAULT NULL,
  `recv_msg_opt` int DEFAULT NULL,
  `unread_count` int DEFAULT NULL,
  `draft_text_time` bigint DEFAULT NULL,
  `is_pinned` tinyint(1) DEFAULT NULL,
  `is_private_chat` tinyint(1) DEFAULT NULL,
  `group_at_type` int DEFAULT NULL,
  `is_not_in_group` tinyint(1) DEFAULT NULL,
  `update_unread_count_time` bigint DEFAULT NULL,
  `attached_info` varchar(1024) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`owner_user_id`,`conversation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of conversations
-- ----------------------------
BEGIN;
INSERT INTO `conversations` (`owner_user_id`, `conversation_id`, `conversation_type`, `user_id`, `group_id`, `recv_msg_opt`, `unread_count`, `draft_text_time`, `is_pinned`, `is_private_chat`, `group_at_type`, `is_not_in_group`, `update_unread_count_time`, `attached_info`, `ex`) VALUES ('kefu1', 'single_4e3403f32cf04461b45aa78a8550963e', 1, '4e3403f32cf04461b45aa78a8550963e', '', 0, 0, 0, 1, 0, 0, 0, 1662041726414, '', '');
INSERT INTO `conversations` (`owner_user_id`, `conversation_id`, `conversation_type`, `user_id`, `group_id`, `recv_msg_opt`, `unread_count`, `draft_text_time`, `is_pinned`, `is_private_chat`, `group_at_type`, `is_not_in_group`, `update_unread_count_time`, `attached_info`, `ex`) VALUES ('kefu1', 'single_56f413f0df9f42d7b3c9cb855de372e9', 1, '56f413f0df9f42d7b3c9cb855de372e9', '', 0, 0, 0, 1, 0, 0, 0, 1662046467870, '', '');
INSERT INTO `conversations` (`owner_user_id`, `conversation_id`, `conversation_type`, `user_id`, `group_id`, `recv_msg_opt`, `unread_count`, `draft_text_time`, `is_pinned`, `is_private_chat`, `group_at_type`, `is_not_in_group`, `update_unread_count_time`, `attached_info`, `ex`) VALUES ('kefu1', 'single_87c5f18bdbe04ad0938490829907efee', 1, '87c5f18bdbe04ad0938490829907efee', '', 0, 0, 0, 0, 0, 0, 0, 1662039131160, '', '');
INSERT INTO `conversations` (`owner_user_id`, `conversation_id`, `conversation_type`, `user_id`, `group_id`, `recv_msg_opt`, `unread_count`, `draft_text_time`, `is_pinned`, `is_private_chat`, `group_at_type`, `is_not_in_group`, `update_unread_count_time`, `attached_info`, `ex`) VALUES ('kefu1', 'single_a8b7320f03474f87856eb9611f7ba57c', 1, 'a8b7320f03474f87856eb9611f7ba57c', '', 0, 0, 0, 1, 0, 0, 0, 1662041857486, '', '');
INSERT INTO `conversations` (`owner_user_id`, `conversation_id`, `conversation_type`, `user_id`, `group_id`, `recv_msg_opt`, `unread_count`, `draft_text_time`, `is_pinned`, `is_private_chat`, `group_at_type`, `is_not_in_group`, `update_unread_count_time`, `attached_info`, `ex`) VALUES ('kefu1', 'single_c05a4c0234694c118a6b564477d4c754', 1, 'c05a4c0234694c118a6b564477d4c754', '', 0, 0, 0, 0, 0, 0, 0, 1662046360572, '', '');
COMMIT;

-- ----------------------------
-- Table structure for department_members
-- ----------------------------
DROP TABLE IF EXISTS `department_members`;
CREATE TABLE `department_members` (
  `user_id` varchar(64) NOT NULL,
  `department_id` varchar(64) NOT NULL,
  `order` int DEFAULT NULL,
  `position` varchar(256) DEFAULT NULL,
  `leader` int DEFAULT NULL,
  `status` int DEFAULT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`user_id`,`department_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of department_members
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for departments
-- ----------------------------
DROP TABLE IF EXISTS `departments`;
CREATE TABLE `departments` (
  `department_id` varchar(64) NOT NULL,
  `face_url` varchar(255) DEFAULT NULL,
  `name` varchar(256) DEFAULT NULL,
  `parent_id` varchar(64) DEFAULT NULL,
  `order` int DEFAULT NULL,
  `department_type` int DEFAULT NULL,
  `related_group_id` varchar(64) DEFAULT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`department_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of departments
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for friend_requests
-- ----------------------------
DROP TABLE IF EXISTS `friend_requests`;
CREATE TABLE `friend_requests` (
  `from_user_id` varchar(64) NOT NULL,
  `to_user_id` varchar(64) NOT NULL,
  `handle_result` int DEFAULT NULL,
  `req_msg` varchar(255) DEFAULT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `handler_user_id` varchar(64) DEFAULT NULL,
  `handle_msg` varchar(255) DEFAULT NULL,
  `handle_time` datetime(3) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`from_user_id`,`to_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of friend_requests
-- ----------------------------
BEGIN;
INSERT INTO `friend_requests` (`from_user_id`, `to_user_id`, `handle_result`, `req_msg`, `create_time`, `handler_user_id`, `handle_msg`, `handle_time`, `ex`) VALUES ('3927b1576d594b79af178a022c0c6e4c', 'kefu1', 1, '', '2022-08-31 22:50:03.759', 'openIMAdmin', 'ok', '2022-08-31 22:50:03.759', '');
INSERT INTO `friend_requests` (`from_user_id`, `to_user_id`, `handle_result`, `req_msg`, `create_time`, `handler_user_id`, `handle_msg`, `handle_time`, `ex`) VALUES ('4e3403f32cf04461b45aa78a8550963e', 'kefu1', 1, '', '2022-08-31 22:55:31.444', 'openIMAdmin', 'ok', '2022-08-31 22:55:31.444', '');
INSERT INTO `friend_requests` (`from_user_id`, `to_user_id`, `handle_result`, `req_msg`, `create_time`, `handler_user_id`, `handle_msg`, `handle_time`, `ex`) VALUES ('56f413f0df9f42d7b3c9cb855de372e9', 'kefu1', 1, '', '2022-08-31 22:52:13.458', 'openIMAdmin', 'ok', '2022-08-31 22:52:13.458', '');
INSERT INTO `friend_requests` (`from_user_id`, `to_user_id`, `handle_result`, `req_msg`, `create_time`, `handler_user_id`, `handle_msg`, `handle_time`, `ex`) VALUES ('87c5f18bdbe04ad0938490829907efee', 'kefu1', 1, '', '2022-08-31 22:56:23.923', 'openIMAdmin', 'ok', '2022-08-31 22:56:23.923', '');
INSERT INTO `friend_requests` (`from_user_id`, `to_user_id`, `handle_result`, `req_msg`, `create_time`, `handler_user_id`, `handle_msg`, `handle_time`, `ex`) VALUES ('a8b7320f03474f87856eb9611f7ba57c', 'kefu1', 1, '', '2022-08-31 22:55:08.280', 'openIMAdmin', 'ok', '2022-08-31 22:55:08.280', '');
INSERT INTO `friend_requests` (`from_user_id`, `to_user_id`, `handle_result`, `req_msg`, `create_time`, `handler_user_id`, `handle_msg`, `handle_time`, `ex`) VALUES ('c05a4c0234694c118a6b564477d4c754', 'kefu1', 1, '', '2022-08-31 22:54:34.955', 'openIMAdmin', 'ok', '2022-08-31 22:54:34.955', '');
INSERT INTO `friend_requests` (`from_user_id`, `to_user_id`, `handle_result`, `req_msg`, `create_time`, `handler_user_id`, `handle_msg`, `handle_time`, `ex`) VALUES ('oTigX6npdXjo--YNCKAof_NLIJVM', 'kefu1', 1, '', '2022-08-31 21:26:26.047', 'openIMAdmin', 'ok', '2022-08-31 21:26:26.047', '');
COMMIT;

-- ----------------------------
-- Table structure for friends
-- ----------------------------
DROP TABLE IF EXISTS `friends`;
CREATE TABLE `friends` (
  `owner_user_id` varchar(64) NOT NULL,
  `friend_user_id` varchar(64) NOT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `add_source` int DEFAULT NULL,
  `operator_user_id` varchar(64) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`owner_user_id`,`friend_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of friends
-- ----------------------------
BEGIN;
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('3927b1576d594b79af178a022c0c6e4c', 'kefu1', '', '2022-08-31 22:50:03.762', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('4e3403f32cf04461b45aa78a8550963e', 'kefu1', '', '2022-08-31 22:55:31.449', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('56f413f0df9f42d7b3c9cb855de372e9', 'kefu1', '', '2022-08-31 22:52:13.461', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('87c5f18bdbe04ad0938490829907efee', 'kefu1', '', '2022-08-31 22:56:23.926', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('a8b7320f03474f87856eb9611f7ba57c', 'kefu1', '', '2022-08-31 22:55:08.283', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('c05a4c0234694c118a6b564477d4c754', 'kefu1', '', '2022-08-31 22:54:34.960', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('kefu1', '3927b1576d594b79af178a022c0c6e4c', '', '2022-08-31 22:50:03.761', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('kefu1', '4e3403f32cf04461b45aa78a8550963e', '杀猪者', '2022-08-31 22:55:31.446', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('kefu1', '56f413f0df9f42d7b3c9cb855de372e9', '', '2022-08-31 22:52:13.459', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('kefu1', '87c5f18bdbe04ad0938490829907efee', '测试用户', '2022-08-31 22:56:23.925', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('kefu1', 'a8b7320f03474f87856eb9611f7ba57c', '', '2022-08-31 22:55:08.282', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('kefu1', 'c05a4c0234694c118a6b564477d4c754', '', '2022-08-31 22:54:34.958', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('kefu1', 'oTigX6npdXjo--YNCKAof_NLIJVM', '', '2022-08-31 21:26:26.049', 0, 'openIMAdmin', '');
INSERT INTO `friends` (`owner_user_id`, `friend_user_id`, `remark`, `create_time`, `add_source`, `operator_user_id`, `ex`) VALUES ('oTigX6npdXjo--YNCKAof_NLIJVM', 'kefu1', '', '2022-08-31 21:26:26.050', 0, 'openIMAdmin', '');
COMMIT;

-- ----------------------------
-- Table structure for gen_table
-- ----------------------------
DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table` (
  `table_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_name` varchar(200) DEFAULT '' COMMENT '表名称',
  `table_comment` varchar(500) DEFAULT '' COMMENT '表描述',
  `sub_table_name` varchar(64) DEFAULT NULL COMMENT '关联子表的表名',
  `sub_table_fk_name` varchar(64) DEFAULT NULL COMMENT '子表关联的外键名',
  `class_name` varchar(100) DEFAULT '' COMMENT '实体类名称',
  `tpl_category` varchar(200) DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作 sub主子表操作）',
  `package_name` varchar(100) DEFAULT NULL COMMENT '生成包路径',
  `module_name` varchar(30) DEFAULT NULL COMMENT '生成模块名',
  `business_name` varchar(30) DEFAULT NULL COMMENT '生成业务名',
  `function_name` varchar(50) DEFAULT NULL COMMENT '生成功能名',
  `function_author` varchar(50) DEFAULT NULL COMMENT '生成功能作者',
  `gen_type` char(1) DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
  `gen_path` varchar(200) DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
  `options` varchar(1000) DEFAULT NULL COMMENT '其它生成选项',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代码生成业务表';

-- ----------------------------
-- Records of gen_table
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for gen_table_column
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column` (
  `column_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_id` varchar(64) DEFAULT NULL COMMENT '归属表编号',
  `column_name` varchar(200) DEFAULT NULL COMMENT '列名称',
  `column_comment` varchar(500) DEFAULT NULL COMMENT '列描述',
  `column_type` varchar(100) DEFAULT NULL COMMENT '列类型',
  `java_type` varchar(500) DEFAULT NULL COMMENT 'JAVA类型',
  `java_field` varchar(200) DEFAULT NULL COMMENT 'JAVA字段名',
  `is_pk` char(1) DEFAULT NULL COMMENT '是否主键（1是）',
  `is_increment` char(1) DEFAULT NULL COMMENT '是否自增（1是）',
  `is_required` char(1) DEFAULT NULL COMMENT '是否必填（1是）',
  `is_insert` char(1) DEFAULT NULL COMMENT '是否为插入字段（1是）',
  `is_edit` char(1) DEFAULT NULL COMMENT '是否编辑字段（1是）',
  `is_list` char(1) DEFAULT NULL COMMENT '是否列表字段（1是）',
  `is_query` char(1) DEFAULT NULL COMMENT '是否查询字段（1是）',
  `query_type` varchar(200) DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
  `html_type` varchar(200) DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
  `dict_type` varchar(200) DEFAULT '' COMMENT '字典类型',
  `sort` int DEFAULT NULL COMMENT '排序',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`column_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代码生成业务表字段';

-- ----------------------------
-- Records of gen_table_column
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for group_members
-- ----------------------------
DROP TABLE IF EXISTS `group_members`;
CREATE TABLE `group_members` (
  `group_id` varchar(64) NOT NULL,
  `user_id` varchar(64) NOT NULL,
  `nickname` varchar(255) DEFAULT NULL,
  `user_group_face_url` varchar(255) DEFAULT NULL,
  `role_level` int DEFAULT NULL,
  `join_time` datetime(3) DEFAULT NULL,
  `join_source` int DEFAULT NULL,
  `inviter_user_id` varchar(64) DEFAULT NULL,
  `operator_user_id` varchar(64) DEFAULT NULL,
  `mute_end_time` datetime(3) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`group_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of group_members
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for group_requests
-- ----------------------------
DROP TABLE IF EXISTS `group_requests`;
CREATE TABLE `group_requests` (
  `user_id` varchar(64) NOT NULL,
  `group_id` varchar(64) NOT NULL,
  `handle_result` int DEFAULT NULL,
  `req_msg` varchar(1024) DEFAULT NULL,
  `handle_msg` varchar(1024) DEFAULT NULL,
  `req_time` datetime(3) DEFAULT NULL,
  `handle_user_id` varchar(64) DEFAULT NULL,
  `handle_time` datetime(3) DEFAULT NULL,
  `join_source` int DEFAULT NULL,
  `inviter_user_id` varchar(64) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`user_id`,`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of group_requests
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for groups
-- ----------------------------
DROP TABLE IF EXISTS `groups`;
CREATE TABLE `groups` (
  `group_id` varchar(64) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `notification` varchar(255) DEFAULT NULL,
  `introduction` varchar(255) DEFAULT NULL,
  `face_url` varchar(255) DEFAULT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `ex` longtext,
  `status` int DEFAULT NULL,
  `creator_user_id` varchar(64) DEFAULT NULL,
  `group_type` int DEFAULT NULL,
  `need_verification` int DEFAULT NULL,
  `look_member_info` int DEFAULT NULL,
  `apply_member_friend` int DEFAULT NULL,
  `notification_update_time` datetime(3) DEFAULT NULL,
  `notification_user_id` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of groups
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for invitations
-- ----------------------------
DROP TABLE IF EXISTS `invitations`;
CREATE TABLE `invitations` (
  `invitation_code` varchar(32) NOT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `user_id` longtext,
  `last_time` datetime(3) DEFAULT NULL,
  `status` int DEFAULT NULL,
  PRIMARY KEY (`invitation_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of invitations
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ip_limits
-- ----------------------------
DROP TABLE IF EXISTS `ip_limits`;
CREATE TABLE `ip_limits` (
  `ip` varchar(15) NOT NULL,
  `limit_register` tinyint DEFAULT NULL,
  `limit_login` tinyint DEFAULT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `limit_time` datetime(3) DEFAULT NULL,
  PRIMARY KEY (`ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of ip_limits
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for organization_users
-- ----------------------------
DROP TABLE IF EXISTS `organization_users`;
CREATE TABLE `organization_users` (
  `user_id` varchar(64) NOT NULL,
  `nickname` varchar(256) DEFAULT NULL,
  `english_name` varchar(256) DEFAULT NULL,
  `face_url` varchar(256) DEFAULT NULL,
  `gender` int DEFAULT NULL,
  `mobile` varchar(32) DEFAULT NULL,
  `telephone` varchar(32) DEFAULT NULL,
  `birth` datetime(3) DEFAULT NULL,
  `email` varchar(64) DEFAULT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of organization_users
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_BLOB_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_BLOB_TRIGGERS`;
CREATE TABLE `QRTZ_BLOB_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `blob_data` blob COMMENT '存放持久化Trigger对象',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_blob_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `QRTZ_TRIGGERS` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Blob类型的触发器表';

-- ----------------------------
-- Records of QRTZ_BLOB_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_CALENDARS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_CALENDARS`;
CREATE TABLE `QRTZ_CALENDARS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `calendar_name` varchar(200) NOT NULL COMMENT '日历名称',
  `calendar` blob NOT NULL COMMENT '存放持久化calendar对象',
  PRIMARY KEY (`sched_name`,`calendar_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='日历信息表';

-- ----------------------------
-- Records of QRTZ_CALENDARS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_CRON_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_CRON_TRIGGERS`;
CREATE TABLE `QRTZ_CRON_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `cron_expression` varchar(200) NOT NULL COMMENT 'cron表达式',
  `time_zone_id` varchar(80) DEFAULT NULL COMMENT '时区',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_cron_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `QRTZ_TRIGGERS` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cron类型的触发器表';

-- ----------------------------
-- Records of QRTZ_CRON_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_FIRED_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_FIRED_TRIGGERS`;
CREATE TABLE `QRTZ_FIRED_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `entry_id` varchar(95) NOT NULL COMMENT '调度器实例id',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `instance_name` varchar(200) NOT NULL COMMENT '调度器实例名',
  `fired_time` bigint NOT NULL COMMENT '触发的时间',
  `sched_time` bigint NOT NULL COMMENT '定时器制定的时间',
  `priority` int NOT NULL COMMENT '优先级',
  `state` varchar(16) NOT NULL COMMENT '状态',
  `job_name` varchar(200) DEFAULT NULL COMMENT '任务名称',
  `job_group` varchar(200) DEFAULT NULL COMMENT '任务组名',
  `is_nonconcurrent` varchar(1) DEFAULT NULL COMMENT '是否并发',
  `requests_recovery` varchar(1) DEFAULT NULL COMMENT '是否接受恢复执行',
  PRIMARY KEY (`sched_name`,`entry_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='已触发的触发器表';

-- ----------------------------
-- Records of QRTZ_FIRED_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_JOB_DETAILS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_JOB_DETAILS`;
CREATE TABLE `QRTZ_JOB_DETAILS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `job_name` varchar(200) NOT NULL COMMENT '任务名称',
  `job_group` varchar(200) NOT NULL COMMENT '任务组名',
  `description` varchar(250) DEFAULT NULL COMMENT '相关介绍',
  `job_class_name` varchar(250) NOT NULL COMMENT '执行任务类名称',
  `is_durable` varchar(1) NOT NULL COMMENT '是否持久化',
  `is_nonconcurrent` varchar(1) NOT NULL COMMENT '是否并发',
  `is_update_data` varchar(1) NOT NULL COMMENT '是否更新数据',
  `requests_recovery` varchar(1) NOT NULL COMMENT '是否接受恢复执行',
  `job_data` blob COMMENT '存放持久化job对象',
  PRIMARY KEY (`sched_name`,`job_name`,`job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='任务详细信息表';

-- ----------------------------
-- Records of QRTZ_JOB_DETAILS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_LOCKS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_LOCKS`;
CREATE TABLE `QRTZ_LOCKS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `lock_name` varchar(40) NOT NULL COMMENT '悲观锁名称',
  PRIMARY KEY (`sched_name`,`lock_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='存储的悲观锁信息表';

-- ----------------------------
-- Records of QRTZ_LOCKS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_PAUSED_TRIGGER_GRPS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_PAUSED_TRIGGER_GRPS`;
CREATE TABLE `QRTZ_PAUSED_TRIGGER_GRPS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  PRIMARY KEY (`sched_name`,`trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='暂停的触发器表';

-- ----------------------------
-- Records of QRTZ_PAUSED_TRIGGER_GRPS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_SCHEDULER_STATE
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SCHEDULER_STATE`;
CREATE TABLE `QRTZ_SCHEDULER_STATE` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `instance_name` varchar(200) NOT NULL COMMENT '实例名称',
  `last_checkin_time` bigint NOT NULL COMMENT '上次检查时间',
  `checkin_interval` bigint NOT NULL COMMENT '检查间隔时间',
  PRIMARY KEY (`sched_name`,`instance_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='调度器状态表';

-- ----------------------------
-- Records of QRTZ_SCHEDULER_STATE
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_SIMPLE_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SIMPLE_TRIGGERS`;
CREATE TABLE `QRTZ_SIMPLE_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `repeat_count` bigint NOT NULL COMMENT '重复的次数统计',
  `repeat_interval` bigint NOT NULL COMMENT '重复的间隔时间',
  `times_triggered` bigint NOT NULL COMMENT '已经触发的次数',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simple_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `QRTZ_TRIGGERS` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='简单触发器的信息表';

-- ----------------------------
-- Records of QRTZ_SIMPLE_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_SIMPROP_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_SIMPROP_TRIGGERS`;
CREATE TABLE `QRTZ_SIMPROP_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `str_prop_1` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第一个参数',
  `str_prop_2` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第二个参数',
  `str_prop_3` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第三个参数',
  `int_prop_1` int DEFAULT NULL COMMENT 'int类型的trigger的第一个参数',
  `int_prop_2` int DEFAULT NULL COMMENT 'int类型的trigger的第二个参数',
  `long_prop_1` bigint DEFAULT NULL COMMENT 'long类型的trigger的第一个参数',
  `long_prop_2` bigint DEFAULT NULL COMMENT 'long类型的trigger的第二个参数',
  `dec_prop_1` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第一个参数',
  `dec_prop_2` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第二个参数',
  `bool_prop_1` varchar(1) DEFAULT NULL COMMENT 'Boolean类型的trigger的第一个参数',
  `bool_prop_2` varchar(1) DEFAULT NULL COMMENT 'Boolean类型的trigger的第二个参数',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simprop_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `QRTZ_TRIGGERS` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='同步机制的行锁表';

-- ----------------------------
-- Records of QRTZ_SIMPROP_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for QRTZ_TRIGGERS
-- ----------------------------
DROP TABLE IF EXISTS `QRTZ_TRIGGERS`;
CREATE TABLE `QRTZ_TRIGGERS` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT '触发器的名字',
  `trigger_group` varchar(200) NOT NULL COMMENT '触发器所属组的名字',
  `job_name` varchar(200) NOT NULL COMMENT 'qrtz_job_details表job_name的外键',
  `job_group` varchar(200) NOT NULL COMMENT 'qrtz_job_details表job_group的外键',
  `description` varchar(250) DEFAULT NULL COMMENT '相关介绍',
  `next_fire_time` bigint DEFAULT NULL COMMENT '上一次触发时间（毫秒）',
  `prev_fire_time` bigint DEFAULT NULL COMMENT '下一次触发时间（默认为-1表示不触发）',
  `priority` int DEFAULT NULL COMMENT '优先级',
  `trigger_state` varchar(16) NOT NULL COMMENT '触发器状态',
  `trigger_type` varchar(8) NOT NULL COMMENT '触发器的类型',
  `start_time` bigint NOT NULL COMMENT '开始时间',
  `end_time` bigint DEFAULT NULL COMMENT '结束时间',
  `calendar_name` varchar(200) DEFAULT NULL COMMENT '日程表名称',
  `misfire_instr` smallint DEFAULT NULL COMMENT '补偿执行的策略',
  `job_data` blob COMMENT '存放持久化job对象',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  KEY `sched_name` (`sched_name`,`job_name`,`job_group`),
  CONSTRAINT `qrtz_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `job_name`, `job_group`) REFERENCES `QRTZ_JOB_DETAILS` (`sched_name`, `job_name`, `job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='触发器详细信息表';

-- ----------------------------
-- Records of QRTZ_TRIGGERS
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for register_add_friend
-- ----------------------------
DROP TABLE IF EXISTS `register_add_friend`;
CREATE TABLE `register_add_friend` (
  `user_id` varchar(64) NOT NULL,
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of register_add_friend
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for registers
-- ----------------------------
DROP TABLE IF EXISTS `registers`;
CREATE TABLE `registers` (
  `account` char(255) NOT NULL,
  `password` varchar(255) DEFAULT NULL,
  `ex` varchar(1024) DEFAULT NULL,
  `user_id` varchar(255) DEFAULT NULL,
  `area_code` varchar(255) DEFAULT NULL,
  `invitation_code` varchar(255) DEFAULT NULL,
  `register_ip` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`account`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of registers
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config` (
  `config_id` int NOT NULL AUTO_INCREMENT COMMENT '参数主键',
  `config_name` varchar(100) DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8 COMMENT='参数配置表';

-- ----------------------------
-- Records of sys_config
-- ----------------------------
BEGIN;
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '初始化密码 123456');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '深黑主题theme-dark，浅色主题theme-light，深蓝主题theme-blue');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '是否开启注册用户功能（true开启，false关闭）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '用户管理-密码字符范围', 'sys.account.chrtype', '0', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '默认任意字符范围，0任意（密码可以输入任意字符），1数字（密码只能为0-9数字），2英文字母（密码只能为a-z和A-Z字母），3字母和数字（密码必须包含字母，数字）,4字母数字和特殊字符（目前支持的特殊字符包括：~!@#$%^&*()-=_+）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '用户管理-初始密码修改策略', 'sys.account.initPasswordModify', '0', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '0：初始密码修改策略关闭，没有任何提示，1：提醒用户，如果未修改初始密码，则在登录时就会提醒修改密码对话框');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '用户管理-账号密码更新周期', 'sys.account.passwordValidateDays', '0', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '密码更新周期（填写数字，数据初始化值为0不限制，若修改必须为大于0小于365的正整数），如果超过这个周期登录系统时，则在登录时就会提醒修改密码对话框');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, '主框架页-菜单导航显示风格', 'sys.index.menuStyle', 'default', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '菜单导航显示风格（default为左侧导航菜单，topnav为顶部导航菜单）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, '主框架页-是否开启页脚', 'sys.index.footer', 'true', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '是否开启底部页脚显示（true显示，false隐藏）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, '主框架页-是否开启页签', 'sys.index.tagsView', 'true', 'Y', 'admin', '2022-08-31 20:37:30', '', NULL, '是否开启菜单多页签显示（true显示，false隐藏）');
COMMIT;

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `dept_id` bigint NOT NULL AUTO_INCREMENT COMMENT '部门id',
  `parent_id` bigint DEFAULT '0' COMMENT '父部门id',
  `ancestors` varchar(50) DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) DEFAULT '' COMMENT '部门名称',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `leader` varchar(20) DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) DEFAULT NULL COMMENT '邮箱',
  `status` char(1) DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8 COMMENT='部门表';

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (100, 0, '0', '若依科技', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (101, 100, '0,100', '深圳总公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (108, 102, '0,100,102', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  `dict_sort` int DEFAULT '0' COMMENT '字典排序',
  `dict_label` varchar(100) DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8 COMMENT='字典数据表';

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '性别男');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '性别女');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '性别未知');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '显示菜单');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '隐藏菜单');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '默认分组');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '系统分组');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '系统默认是');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '系统默认否');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '通知');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '公告');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '关闭状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (18, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '其他操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (19, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '新增操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (20, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '修改操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (21, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '删除操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (22, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '授权操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (23, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '导出操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (24, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '导入操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (25, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '强退操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (26, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '生成操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (27, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '清空操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (28, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (29, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, 0, '正常', '1', 'im_stauts', NULL, 'success', 'Y', '0', 'admin', '2022-08-12 23:29:03', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, 1, '禁用', '0', 'im_stauts', '', 'danger', 'Y', '0', 'admin', '2022-08-12 23:29:24', 'admin', '2022-08-12 23:29:30', '');
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(100) DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`),
  UNIQUE KEY `dict_type` (`dict_type`)
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8 COMMENT='字典类型表';

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '用户性别', 'sys_user_sex', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '用户性别列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '菜单状态', 'sys_show_hide', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '菜单状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '系统开关', 'sys_normal_disable', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '系统开关列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '任务状态', 'sys_job_status', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '任务状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '任务分组', 'sys_job_group', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '任务分组列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '系统是否', 'sys_yes_no', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '系统是否列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '通知类型', 'sys_notice_type', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '通知类型列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, '通知状态', 'sys_notice_status', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '通知状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, '操作类型', 'sys_oper_type', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '操作类型列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, '系统状态', 'sys_common_status', '0', 'admin', '2022-08-12 22:05:22', '', NULL, '登录状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, '用户状态', 'im_stauts', '0', 'admin', '2022-08-12 23:28:37', '', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_job
-- ----------------------------
DROP TABLE IF EXISTS `sys_job`;
CREATE TABLE `sys_job` (
  `job_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务ID',
  `job_name` varchar(64) NOT NULL DEFAULT '' COMMENT '任务名称',
  `job_group` varchar(64) NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
  `invoke_target` varchar(500) NOT NULL COMMENT '调用目标字符串',
  `cron_expression` varchar(255) DEFAULT '' COMMENT 'cron执行表达式',
  `misfire_policy` varchar(20) DEFAULT '3' COMMENT '计划执行错误策略（1立即执行 2执行一次 3放弃执行）',
  `concurrent` char(1) DEFAULT '1' COMMENT '是否并发执行（0允许 1禁止）',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1暂停）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT '' COMMENT '备注信息',
  PRIMARY KEY (`job_id`,`job_name`,`job_group`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8 COMMENT='定时任务调度表';

-- ----------------------------
-- Records of sys_job
-- ----------------------------
BEGIN;
INSERT INTO `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '系统默认（无参）', 'DEFAULT', 'ryTask.ryNoParams', '0/10 * * * * ?', '3', '1', '1', 'admin', '2022-08-31 20:37:30', '', NULL, '');
INSERT INTO `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '系统默认（有参）', 'DEFAULT', 'ryTask.ryParams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', 'admin', '2022-08-31 20:37:30', '', NULL, '');
INSERT INTO `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '系统默认（多参）', 'DEFAULT', 'ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', '2022-08-31 20:37:30', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_job_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_job_log`;
CREATE TABLE `sys_job_log` (
  `job_log_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
  `job_name` varchar(64) NOT NULL COMMENT '任务名称',
  `job_group` varchar(64) NOT NULL COMMENT '任务组名',
  `invoke_target` varchar(500) NOT NULL COMMENT '调用目标字符串',
  `job_message` varchar(500) DEFAULT NULL COMMENT '日志信息',
  `status` char(1) DEFAULT '0' COMMENT '执行状态（0正常 1失败）',
  `exception_info` varchar(2000) DEFAULT '' COMMENT '异常信息',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`job_log_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='定时任务调度日志表';

-- ----------------------------
-- Records of sys_job_log
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_logininfor
-- ----------------------------
DROP TABLE IF EXISTS `sys_logininfor`;
CREATE TABLE `sys_logininfor` (
  `info_id` bigint NOT NULL AUTO_INCREMENT COMMENT '访问ID',
  `login_name` varchar(50) DEFAULT '' COMMENT '登录账号',
  `ipaddr` varchar(128) DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) DEFAULT '' COMMENT '操作系统',
  `status` char(1) DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) DEFAULT '' COMMENT '提示消息',
  `login_time` datetime DEFAULT NULL COMMENT '访问时间',
  PRIMARY KEY (`info_id`)
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8 COMMENT='系统访问记录';

-- ----------------------------
-- Records of sys_logininfor
-- ----------------------------
BEGIN;
INSERT INTO `sys_logininfor` (`info_id`, `login_name`, `ipaddr`, `login_location`, `browser`, `os`, `status`, `msg`, `login_time`) VALUES (100, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-31 20:38:22');
COMMIT;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `menu_id` bigint NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) NOT NULL COMMENT '菜单名称',
  `parent_id` bigint DEFAULT '0' COMMENT '父菜单ID',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `url` varchar(200) DEFAULT '#' COMMENT '请求地址',
  `target` varchar(20) DEFAULT '' COMMENT '打开方式（menuItem页签 menuBlank新窗口）',
  `menu_type` char(1) DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `is_refresh` char(1) DEFAULT '1' COMMENT '是否刷新（0刷新 1不刷新）',
  `perms` varchar(100) DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2003 DEFAULT CHARSET=utf8 COMMENT='菜单权限表';

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '系统管理', 0, 1, '#', '', 'M', '0', '1', '', 'fa fa-gear', 'admin', '2022-08-12 22:05:22', '', NULL, '系统管理目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '系统监控', 0, 2, '#', '', 'M', '0', '1', '', 'fa fa-video-camera', 'admin', '2022-08-12 22:05:22', '', NULL, '系统监控目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '系统工具', 0, 3, '#', '', 'M', '0', '1', '', 'fa fa-bars', 'admin', '2022-08-12 22:05:22', '', NULL, '系统工具目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '若依官网', 0, 4, 'http://ruoyi.vip', 'menuBlank', 'C', '0', '1', '', 'fa fa-location-arrow', 'admin', '2022-08-12 22:05:22', '', NULL, '若依官网地址');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, '用户管理', 1, 1, '/system/user', '', 'C', '0', '1', 'system:user:view', 'fa fa-user-o', 'admin', '2022-08-12 22:05:22', '', NULL, '用户管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '角色管理', 1, 2, '/system/role', '', 'C', '0', '1', 'system:role:view', 'fa fa-user-secret', 'admin', '2022-08-12 22:05:22', '', NULL, '角色管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '菜单管理', 1, 3, '/system/menu', '', 'C', '0', '1', 'system:menu:view', 'fa fa-th-list', 'admin', '2022-08-12 22:05:22', '', NULL, '菜单管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (103, '部门管理', 1, 4, '/system/dept', '', 'C', '0', '1', 'system:dept:view', 'fa fa-outdent', 'admin', '2022-08-12 22:05:22', '', NULL, '部门管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (104, '岗位管理', 1, 5, '/system/post', '', 'C', '0', '1', 'system:post:view', 'fa fa-address-card-o', 'admin', '2022-08-12 22:05:22', '', NULL, '岗位管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (105, '字典管理', 1, 6, '/system/dict', '', 'C', '0', '1', 'system:dict:view', 'fa fa-bookmark-o', 'admin', '2022-08-12 22:05:22', '', NULL, '字典管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (106, '参数设置', 1, 7, '/system/config', '', 'C', '0', '1', 'system:config:view', 'fa fa-sun-o', 'admin', '2022-08-12 22:05:22', '', NULL, '参数设置菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (107, '通知公告', 1, 8, '/system/notice', '', 'C', '0', '1', 'system:notice:view', 'fa fa-bullhorn', 'admin', '2022-08-12 22:05:22', '', NULL, '通知公告菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (108, '日志管理', 1, 9, '#', '', 'M', '0', '1', '', 'fa fa-pencil-square-o', 'admin', '2022-08-12 22:05:22', '', NULL, '日志管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (109, '在线用户', 2, 1, '/monitor/online', '', 'C', '0', '1', 'monitor:online:view', 'fa fa-user-circle', 'admin', '2022-08-12 22:05:22', '', NULL, '在线用户菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (110, '定时任务', 2, 2, '/monitor/job', '', 'C', '0', '1', 'monitor:job:view', 'fa fa-tasks', 'admin', '2022-08-12 22:05:22', '', NULL, '定时任务菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (111, '数据监控', 2, 3, '/monitor/data', '', 'C', '0', '1', 'monitor:data:view', 'fa fa-bug', 'admin', '2022-08-12 22:05:22', '', NULL, '数据监控菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (112, '服务监控', 2, 4, '/monitor/server', '', 'C', '0', '1', 'monitor:server:view', 'fa fa-server', 'admin', '2022-08-12 22:05:22', '', NULL, '服务监控菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (113, '缓存监控', 2, 5, '/monitor/cache', '', 'C', '0', '1', 'monitor:cache:view', 'fa fa-cube', 'admin', '2022-08-12 22:05:22', '', NULL, '缓存监控菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (114, '表单构建', 3, 1, '/tool/build', '', 'C', '0', '1', 'tool:build:view', 'fa fa-wpforms', 'admin', '2022-08-12 22:05:22', '', NULL, '表单构建菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (115, '代码生成', 3, 2, '/tool/gen', '', 'C', '0', '1', 'tool:gen:view', 'fa fa-code', 'admin', '2022-08-12 22:05:22', '', NULL, '代码生成菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (116, '系统接口', 3, 3, '/tool/swagger', '', 'C', '0', '1', 'tool:swagger:view', 'fa fa-gg', 'admin', '2022-08-12 22:05:22', '', NULL, '系统接口菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (500, '操作日志', 108, 1, '/monitor/operlog', '', 'C', '0', '1', 'monitor:operlog:view', 'fa fa-address-book', 'admin', '2022-08-12 22:05:22', '', NULL, '操作日志菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (501, '登录日志', 108, 2, '/monitor/logininfor', '', 'C', '0', '1', 'monitor:logininfor:view', 'fa fa-file-image-o', 'admin', '2022-08-12 22:05:22', '', NULL, '登录日志菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1000, '用户查询', 100, 1, '#', '', 'F', '0', '1', 'system:user:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1001, '用户新增', 100, 2, '#', '', 'F', '0', '1', 'system:user:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1002, '用户修改', 100, 3, '#', '', 'F', '0', '1', 'system:user:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1003, '用户删除', 100, 4, '#', '', 'F', '0', '1', 'system:user:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1004, '用户导出', 100, 5, '#', '', 'F', '0', '1', 'system:user:export', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1005, '用户导入', 100, 6, '#', '', 'F', '0', '1', 'system:user:import', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1006, '重置密码', 100, 7, '#', '', 'F', '0', '1', 'system:user:resetPwd', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1007, '角色查询', 101, 1, '#', '', 'F', '0', '1', 'system:role:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1008, '角色新增', 101, 2, '#', '', 'F', '0', '1', 'system:role:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1009, '角色修改', 101, 3, '#', '', 'F', '0', '1', 'system:role:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1010, '角色删除', 101, 4, '#', '', 'F', '0', '1', 'system:role:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1011, '角色导出', 101, 5, '#', '', 'F', '0', '1', 'system:role:export', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1012, '菜单查询', 102, 1, '#', '', 'F', '0', '1', 'system:menu:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1013, '菜单新增', 102, 2, '#', '', 'F', '0', '1', 'system:menu:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1014, '菜单修改', 102, 3, '#', '', 'F', '0', '1', 'system:menu:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1015, '菜单删除', 102, 4, '#', '', 'F', '0', '1', 'system:menu:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1016, '部门查询', 103, 1, '#', '', 'F', '0', '1', 'system:dept:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1017, '部门新增', 103, 2, '#', '', 'F', '0', '1', 'system:dept:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1018, '部门修改', 103, 3, '#', '', 'F', '0', '1', 'system:dept:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1019, '部门删除', 103, 4, '#', '', 'F', '0', '1', 'system:dept:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1020, '岗位查询', 104, 1, '#', '', 'F', '0', '1', 'system:post:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1021, '岗位新增', 104, 2, '#', '', 'F', '0', '1', 'system:post:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1022, '岗位修改', 104, 3, '#', '', 'F', '0', '1', 'system:post:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1023, '岗位删除', 104, 4, '#', '', 'F', '0', '1', 'system:post:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1024, '岗位导出', 104, 5, '#', '', 'F', '0', '1', 'system:post:export', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1025, '字典查询', 105, 1, '#', '', 'F', '0', '1', 'system:dict:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1026, '字典新增', 105, 2, '#', '', 'F', '0', '1', 'system:dict:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1027, '字典修改', 105, 3, '#', '', 'F', '0', '1', 'system:dict:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1028, '字典删除', 105, 4, '#', '', 'F', '0', '1', 'system:dict:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1029, '字典导出', 105, 5, '#', '', 'F', '0', '1', 'system:dict:export', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1030, '参数查询', 106, 1, '#', '', 'F', '0', '1', 'system:config:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1031, '参数新增', 106, 2, '#', '', 'F', '0', '1', 'system:config:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1032, '参数修改', 106, 3, '#', '', 'F', '0', '1', 'system:config:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1033, '参数删除', 106, 4, '#', '', 'F', '0', '1', 'system:config:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1034, '参数导出', 106, 5, '#', '', 'F', '0', '1', 'system:config:export', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1035, '公告查询', 107, 1, '#', '', 'F', '0', '1', 'system:notice:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1036, '公告新增', 107, 2, '#', '', 'F', '0', '1', 'system:notice:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1037, '公告修改', 107, 3, '#', '', 'F', '0', '1', 'system:notice:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1038, '公告删除', 107, 4, '#', '', 'F', '0', '1', 'system:notice:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1039, '操作查询', 500, 1, '#', '', 'F', '0', '1', 'monitor:operlog:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1040, '操作删除', 500, 2, '#', '', 'F', '0', '1', 'monitor:operlog:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1041, '详细信息', 500, 3, '#', '', 'F', '0', '1', 'monitor:operlog:detail', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1042, '日志导出', 500, 4, '#', '', 'F', '0', '1', 'monitor:operlog:export', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1043, '登录查询', 501, 1, '#', '', 'F', '0', '1', 'monitor:logininfor:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1044, '登录删除', 501, 2, '#', '', 'F', '0', '1', 'monitor:logininfor:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1045, '日志导出', 501, 3, '#', '', 'F', '0', '1', 'monitor:logininfor:export', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1046, '账户解锁', 501, 4, '#', '', 'F', '0', '1', 'monitor:logininfor:unlock', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1047, '在线查询', 109, 1, '#', '', 'F', '0', '1', 'monitor:online:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1048, '批量强退', 109, 2, '#', '', 'F', '0', '1', 'monitor:online:batchForceLogout', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1049, '单条强退', 109, 3, '#', '', 'F', '0', '1', 'monitor:online:forceLogout', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1050, '任务查询', 110, 1, '#', '', 'F', '0', '1', 'monitor:job:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1051, '任务新增', 110, 2, '#', '', 'F', '0', '1', 'monitor:job:add', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1052, '任务修改', 110, 3, '#', '', 'F', '0', '1', 'monitor:job:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1053, '任务删除', 110, 4, '#', '', 'F', '0', '1', 'monitor:job:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1054, '状态修改', 110, 5, '#', '', 'F', '0', '1', 'monitor:job:changeStatus', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1055, '任务详细', 110, 6, '#', '', 'F', '0', '1', 'monitor:job:detail', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1056, '任务导出', 110, 7, '#', '', 'F', '0', '1', 'monitor:job:export', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1057, '生成查询', 115, 1, '#', '', 'F', '0', '1', 'tool:gen:list', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1058, '生成修改', 115, 2, '#', '', 'F', '0', '1', 'tool:gen:edit', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1059, '生成删除', 115, 3, '#', '', 'F', '0', '1', 'tool:gen:remove', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1060, '预览代码', 115, 4, '#', '', 'F', '0', '1', 'tool:gen:preview', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1061, '生成代码', 115, 5, '#', '', 'F', '0', '1', 'tool:gen:code', '#', 'admin', '2022-08-12 22:05:22', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2000, '客服系统', 0, 0, '#', 'menuItem', 'M', '0', '1', NULL, 'fa fa-address-card-o', 'admin', '2022-08-12 22:07:02', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2001, '客服管理', 2000, 0, '/im/server', 'menuItem', 'C', '0', '1', NULL, '#', 'admin', '2022-08-12 22:07:35', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2002, '用户管理', 2000, 1, '/im/users', 'menuItem', 'C', '0', '1', '', '#', 'admin', '2022-08-12 22:08:16', 'admin', '2022-08-12 22:20:18', '');
COMMIT;

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice` (
  `notice_id` int NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  `notice_title` varchar(50) NOT NULL COMMENT '公告标题',
  `notice_type` char(1) NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` varchar(2000) DEFAULT NULL COMMENT '公告内容',
  `status` char(1) DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='通知公告表';

-- ----------------------------
-- Records of sys_notice
-- ----------------------------
BEGIN;
INSERT INTO `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '温馨提醒：2018-07-01 若依新版本发布啦', '2', '新版本内容', '0', 'admin', '2022-08-31 20:37:30', '', NULL, '管理员');
INSERT INTO `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '维护通知：2018-07-01 若依系统凌晨维护', '1', '维护内容', '0', 'admin', '2022-08-31 20:37:30', '', NULL, '管理员');
COMMIT;

-- ----------------------------
-- Table structure for sys_oper_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_oper_log`;
CREATE TABLE `sys_oper_log` (
  `oper_id` bigint NOT NULL AUTO_INCREMENT COMMENT '日志主键',
  `title` varchar(50) DEFAULT '' COMMENT '模块标题',
  `business_type` int DEFAULT '0' COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(100) DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) DEFAULT '' COMMENT '请求方式',
  `operator_type` int DEFAULT '0' COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(128) DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(2000) DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(2000) DEFAULT '' COMMENT '返回参数',
  `status` int DEFAULT '0' COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(2000) DEFAULT '' COMMENT '错误消息',
  `oper_time` datetime DEFAULT NULL COMMENT '操作时间',
  PRIMARY KEY (`oper_id`)
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8 COMMENT='操作日志记录';

-- ----------------------------
-- Records of sys_oper_log
-- ----------------------------
BEGIN;
INSERT INTO `sys_oper_log` (`oper_id`, `title`, `business_type`, `method`, `request_method`, `operator_type`, `oper_name`, `dept_name`, `oper_url`, `oper_ip`, `oper_location`, `oper_param`, `json_result`, `status`, `error_msg`, `oper_time`) VALUES (100, '用户管理', 1, 'com.ruoyi.project.im.users.controller.CustomerServerController.addSave()', 'POST', 1, 'admin', '研发部门', '/im/server/add', '127.0.0.1', '内网IP', '{\"userId\":[\"kefu1\"],\"appMangerLevel\":[\"3\"],\"name\":[\"客服1号\"]}', '{\"msg\":\"操作成功\",\"code\":0}', 0, NULL, '2022-08-31 20:44:25');
COMMIT;

-- ----------------------------
-- Table structure for sys_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post` (
  `post_id` bigint NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
  `post_code` varchar(64) NOT NULL COMMENT '岗位编码',
  `post_name` varchar(50) NOT NULL COMMENT '岗位名称',
  `post_sort` int NOT NULL COMMENT '显示顺序',
  `status` char(1) NOT NULL COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='岗位信息表';

-- ----------------------------
-- Records of sys_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 'ceo', '董事长', 1, '0', 'admin', '2022-08-31 20:37:30', '', NULL, '');
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 'se', '项目经理', 2, '0', 'admin', '2022-08-31 20:37:30', '', NULL, '');
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, 'hr', '人力资源', 3, '0', 'admin', '2022-08-31 20:37:30', '', NULL, '');
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, 'user', '普通员工', 4, '0', 'admin', '2022-08-31 20:37:30', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `role_id` bigint NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) NOT NULL COMMENT '角色权限字符串',
  `role_sort` int NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `status` char(1) NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8 COMMENT='角色信息表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '超级管理员', 'admin', 1, '1', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL, '超级管理员');
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '普通角色', 'common', 2, '2', '0', '0', 'admin', '2022-08-31 20:37:30', '', NULL, '普通角色');
COMMIT;

-- ----------------------------
-- Table structure for sys_role_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `dept_id` bigint NOT NULL COMMENT '部门ID',
  PRIMARY KEY (`role_id`,`dept_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='角色和部门关联表';

-- ----------------------------
-- Records of sys_role_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_dept` (`role_id`, `dept_id`) VALUES (2, 100);
INSERT INTO `sys_role_dept` (`role_id`, `dept_id`) VALUES (2, 101);
INSERT INTO `sys_role_dept` (`role_id`, `dept_id`) VALUES (2, 105);
COMMIT;

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `menu_id` bigint NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`,`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='角色和菜单关联表';

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 3);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 4);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 100);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 101);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 102);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 103);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 104);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 105);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 106);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 107);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 108);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 109);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 110);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 111);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 112);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 113);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 114);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 115);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 116);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 500);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 501);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1000);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1001);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1002);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1003);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1004);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1005);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1006);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1007);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1008);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1009);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1010);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1011);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1012);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1013);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1014);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1015);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1016);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1017);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1018);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1019);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1020);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1021);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1022);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1023);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1024);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1025);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1026);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1027);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1028);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1029);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1030);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1031);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1032);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1033);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1034);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1035);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1036);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1037);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1038);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1039);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1040);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1041);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1042);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1043);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1044);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1045);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1046);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1047);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1048);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1049);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1050);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1051);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1052);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1053);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1054);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1055);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1056);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1057);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1058);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1059);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1060);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1061);
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `user_id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `dept_id` bigint DEFAULT NULL COMMENT '部门ID',
  `login_name` varchar(30) NOT NULL COMMENT '登录账号',
  `user_name` varchar(30) DEFAULT '' COMMENT '用户昵称',
  `user_type` varchar(2) DEFAULT '00' COMMENT '用户类型（00系统用户 01注册用户）',
  `email` varchar(50) DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) DEFAULT '' COMMENT '手机号码',
  `sex` char(1) DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` varchar(100) DEFAULT '' COMMENT '头像路径',
  `password` varchar(50) DEFAULT '' COMMENT '密码',
  `salt` varchar(20) DEFAULT '' COMMENT '盐加密',
  `status` char(1) DEFAULT '0' COMMENT '帐号状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(128) DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `pwd_update_date` datetime DEFAULT NULL COMMENT '密码最后更新时间',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8 COMMENT='用户信息表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` (`user_id`, `dept_id`, `login_name`, `user_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `salt`, `status`, `del_flag`, `login_ip`, `login_date`, `pwd_update_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 103, 'admin', '若依', '00', 'ry@163.com', '15888888888', '1', '', '29c67a30398638269fe600f73a054934', '111111', '0', '0', '127.0.0.1', '2022-08-31 20:38:23', '2022-08-31 20:37:30', 'admin', '2022-08-31 20:37:30', '', '2022-08-31 20:38:22', '管理员');
INSERT INTO `sys_user` (`user_id`, `dept_id`, `login_name`, `user_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `salt`, `status`, `del_flag`, `login_ip`, `login_date`, `pwd_update_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 105, 'ry', '若依', '00', 'ry@qq.com', '15666666666', '1', '', '8e6d98b90472783cc73c17047ddccf36', '222222', '0', '0', '127.0.0.1', '2022-08-31 20:37:30', '2022-08-31 20:37:30', 'admin', '2022-08-31 20:37:30', '', NULL, '测试员');
COMMIT;

-- ----------------------------
-- Table structure for sys_user_online
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_online`;
CREATE TABLE `sys_user_online` (
  `sessionId` varchar(50) NOT NULL DEFAULT '' COMMENT '用户会话id',
  `login_name` varchar(50) DEFAULT '' COMMENT '登录账号',
  `dept_name` varchar(50) DEFAULT '' COMMENT '部门名称',
  `ipaddr` varchar(128) DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) DEFAULT '' COMMENT '操作系统',
  `status` varchar(10) DEFAULT '' COMMENT '在线状态on_line在线off_line离线',
  `start_timestamp` datetime DEFAULT NULL COMMENT 'session创建时间',
  `last_access_time` datetime DEFAULT NULL COMMENT 'session最后访问时间',
  `expire_time` int DEFAULT '0' COMMENT '超时时间，单位为分钟',
  PRIMARY KEY (`sessionId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='在线用户记录';

-- ----------------------------
-- Records of sys_user_online
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_post`;
CREATE TABLE `sys_user_post` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `post_id` bigint NOT NULL COMMENT '岗位ID',
  PRIMARY KEY (`user_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户与岗位关联表';

-- ----------------------------
-- Records of sys_user_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_post` (`user_id`, `post_id`) VALUES (1, 1);
INSERT INTO `sys_user_post` (`user_id`, `post_id`) VALUES (2, 2);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `role_id` bigint NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`,`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户和角色关联表';

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (1, 1);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (2, 2);
COMMIT;

-- ----------------------------
-- Table structure for user_ip_limits
-- ----------------------------
DROP TABLE IF EXISTS `user_ip_limits`;
CREATE TABLE `user_ip_limits` (
  `user_id` varchar(64) NOT NULL,
  `ip` varchar(15) NOT NULL,
  `create_time` datetime(3) DEFAULT NULL,
  PRIMARY KEY (`user_id`,`ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of user_ip_limits
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
  `user_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '用户ID',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '昵称',
  `face_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '头像',
  `gender` int DEFAULT NULL COMMENT '性别',
  `phone_number` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '手机号',
  `status` tinyint DEFAULT '1' COMMENT '状态',
  `birth` datetime(3) DEFAULT NULL COMMENT '生日',
  `email` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `ex` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `app_manger_level` int DEFAULT NULL COMMENT '2系统管理员  3客服 1普通用户',
  `create_time` datetime(3) DEFAULT NULL,
  `create_ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `last_login_time` datetime(3) DEFAULT NULL COMMENT '最后登入时间',
  `last_login_ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '登录IP',
  `last_login_city` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '最后登入城市',
  `login_times` int DEFAULT NULL,
  `login_limit` int DEFAULT NULL,
  `invitation_code` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `wx_uuid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '微信UUID',
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `global_recv_msg_opt` int DEFAULT NULL,
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of users
-- ----------------------------
BEGIN;
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('3927b1576d594b79af178a022c0c6e4c', '游客6e4c', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 22:50:03.725', '', '2022-08-31 22:50:03.725', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('4e3403f32cf04461b45aa78a8550963e', '游客963e', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 22:55:31.402', '', '2022-08-31 22:55:31.402', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('56f413f0df9f42d7b3c9cb855de372e9', '游客72e9', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 22:52:13.398', '', '2022-08-31 22:52:13.398', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('7eb974a56db94be2993532ba238ee9d5', '游客e9d5', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 22:47:35.194', '', '2022-08-31 22:47:35.194', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('87c5f18bdbe04ad0938490829907efee', '游客efee', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 22:56:23.900', '', '2022-08-31 22:56:23.900', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('a8b7320f03474f87856eb9611f7ba57c', '游客a57c', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 22:55:08.002', '', '2022-08-31 22:55:08.002', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('c05a4c0234694c118a6b564477d4c754', '游客c754', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 22:54:34.844', '', '2022-08-31 22:54:34.844', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('c280156194894d57a06d6055a03e26e9', '游客26e9', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 22:48:28.195', '', '2022-08-31 22:48:28.195', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('kefu1', '客服1号', 'http://gwgame.oss-cn-beijing.aliyuncs.com/im/1661958735125.png', NULL, NULL, 1, '2042-07-14 09:04:00.000', NULL, NULL, 3, '2022-08-31 20:44:24.999', '127.0.0.1', '2022-08-31 21:31:02.000', '127.0.0.1', NULL, NULL, NULL, NULL, NULL, '123456', NULL);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('oTigX6npdXjo--YNCKAof_NLIJVM', '阿桑', 'https://thirdwx.qlogo.cn/mmopen/vi_32/8DvUEMTEkPu8jIT2SiaBAJBrvelL4gMF50cOUPLiaXd9p7HD7spRRXXmCJtQXvHmDqwETJ8dAPzmMhibfeTVLdFkg/132', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 1, '2022-08-31 20:59:23.946', '', '2022-08-31 20:59:23.946', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('openIM123456', '系统通知', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 2, '2022-08-29 21:17:50.731', '', '2022-08-29 21:17:50.731', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('openIM333', 'AppManager3', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 2, '2022-08-29 21:17:50.737', '', '2022-08-29 21:17:50.737', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('openIM654321', 'AppManager2', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 2, '2022-08-29 21:17:50.736', '', '2022-08-29 21:17:50.736', '', NULL, 0, 0, '', NULL, NULL, 0);
INSERT INTO `users` (`user_id`, `name`, `face_url`, `gender`, `phone_number`, `status`, `birth`, `email`, `ex`, `app_manger_level`, `create_time`, `create_ip`, `last_login_time`, `last_login_ip`, `last_login_city`, `login_times`, `login_limit`, `invitation_code`, `wx_uuid`, `password`, `global_recv_msg_opt`) VALUES ('openIMAdmin', 'AppManager4', '', 0, '', 1, '1970-01-01 08:00:00.000', '', '', 2, '2022-08-29 21:17:50.738', '', '2022-08-29 21:17:50.738', '', NULL, 0, 0, '', NULL, NULL, 0);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
